package com.pig4cloud.pig.module.api.entity.raffle;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 【请填写功能名称】对象 raffle_goods
 *
 * @author ruoyi
 * @date 2021-08-29
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("raffle_goods")
public class RaffleGoods implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * $column.columnComment
     */
    private String raffleTitle;

    /**
     * $column.columnComment
     */
    private Integer raffleId;

    /**
     * 奖项名称
     */
    private String raffleGoodsName;

    /**
     * $column.columnComment
     */
    private Integer goodsType;

    /**
     * $column.columnComment
     */
    private Integer state;

    /**
     * 奖项的总数量
     */
    private Integer count;

    /**
     * $column.columnComment
     */
    private Integer leftCount;

    /**
     * 中奖概率
     */
    private BigDecimal raffleProbability;

    /**
     * $column.columnComment
     */
    private Integer isControl;

    /**
     * $column.columnComment
     */
    private Integer outIndex;

    /**
     * 权重
     */
    private Integer weight;

    /**
     * 索引
     */
    private Integer sort;

    /**
     * 是否是空奖
     */
    private Integer isEmpty;

    /**
     * 空奖的提示说明
     */
    private String emptyInfo;

}
